package com.ddm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by he on 2025/5/18 16:37
 */
@ConfigurationProperties(prefix = "oss")
@Data
public class OssProperties {
    private Aliyun aliyun;
    @Data
    public static class Aliyun {
        private boolean active;
        private String endpoint;
        private String bucketName;
        private String accessKeyId;
        private String accessKeySecret;
    }
}
